import request from "@/utils/request";
// 获取商品分类列表
const getCates = (params = {}) => request.get('/cateLists', { params })
// 新增商品分类
const addCate = (params = {}) => request.post('/addCate', params)
// 获取分类详情
const getCateDetail = (params = {}) => request.get('/getCate', { params })
// 修改商品分类
const updateCate = (params = {}) => request.put('/updateCate', params)
export {
  getCates,
  addCate,
  getCateDetail,
  updateCate
}